[gd_scene load_steps=7 format=3 uid="uid://6s72bw4t1tmp"]

[ext_resource type="PackedScene" uid="uid://cmdg02yaewh3p" path="res://scenes/entities/SimpleMovable.tscn" id="1_jiiv0"]
[ext_resource type="Script" path="res://scenes/entities/player/PlayerTool.gd" id="2_487ss"]

[sub_resource type="BoxShape3D" id="BoxShape3D_foiqm"]
size = Vector3(1, 2.84214, 0.152527)

[sub_resource type="CylinderMesh" id="CylinderMesh_pf60o"]
top_radius = 0.95
bottom_radius = 0.75
height = 3.0
radial_segments = 32

[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_gyimj"]
radius = 0.942003
height = 3.00375

[sub_resource type="BoxShape3D" id="BoxShape3D_x3y88"]
size = Vector3(1.9, 0.156, 1.9)

[node name="BasePlayerTool" groups=["drivable", "pushable", "tool"] instance=ExtResource("1_jiiv0")]
script = ExtResource("2_487ss")
move_speed = 8.8
can_push = false
enable_rotation = true
default_jump_velocity = 0.0
tool_type = 0

[node name="RotationVisualizer" parent="RotationPoint" index="0"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 1.99099, -1.07541)
visible = true

[node name="StaticMesh" parent="RotationPoint" index="1"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.48668, 0)
visible = false

[node name="CollisionShape3D" parent="RotationPoint/FrontArea" index="0"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.53841, -1.06644)
shape = SubResource("BoxShape3D_foiqm")

[node name="ToolMesh" type="MeshInstance3D" parent="." index="1"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
mesh = SubResource("CylinderMesh_pf60o")

[node name="CollisionShape3D" parent="." index="2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.49511, 0)
shape = SubResource("CapsuleShape3D_gyimj")

[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="." index="5"]
attenuation_model = 3
unit_size = 100.0

[node name="DriveArea" type="Area3D" parent="." index="6"]
collision_layer = 4
collision_mask = 2

[node name="CollisionShape3D" type="CollisionShape3D" parent="DriveArea" index="0"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.09619, 0)
shape = SubResource("BoxShape3D_x3y88")

[node name="DriveAnchor" type="Marker3D" parent="DriveArea" index="1" groups=["anchor"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.1, 0)

[connection signal="no_health" from="Health" to="." method="_on_Health_no_health"]
[connection signal="body_entered" from="DriveArea" to="." method="_on_drive_area_body_entered"]
[connection signal="body_exited" from="DriveArea" to="." method="_on_drive_area_body_exited"]
